package cn.kgc.flightsmanagement.servcie.impl;

import cn.kgc.flightsmanagement.mapper.CityMapper;
import cn.kgc.flightsmanagement.pojo.City;
import cn.kgc.flightsmanagement.servcie.CityService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author niejianhang
 * @create 2020-05-31 10:47
 */
@Service
public class CityServiceImpl implements CityService {

    @Resource
    CityMapper cityMapper;

    @Override
    public List<City> selAll() {
        List<City> list = cityMapper.selectByExample(null);
        return list;
    }
}
